package com.qf.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class UserTable {
    @ExcelProperty("ID")
    private Integer id;
    @ExcelProperty("用户名")
    private String userName;
    @ExcelProperty("密码")
    private String userPwd;
    @ExcelProperty("真实名字")
    private String userRealname;
    @ExcelProperty("性别")
    private String userGender;
    @ExcelProperty("邮箱")
    private String userEmail;
    @ExcelProperty("电话")
    private String userPhone;
    @ExcelProperty("身份证号")
    private String userId;
    @ExcelProperty("出生日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")//格式化日期
    private Date userBirthdate;
    @ExcelProperty("是否锁定")
    private Integer userLock;
    @ExcelProperty("地址")
    private String userAddress;
    @ExcelProperty("图片")
    private String userImage;

}